package com.kou.service;

import com.kou.pojo.Address;

import java.util.List;

/**
 * @author SteinY
 * @create 2022-03-26 9:13
 * @description:
 */
public interface AddressService {
    List<Address> findAll(String uid);

    void add(String uid, String name, String phone, String detail);

    void delete(String id);

    void update(String id, String state, String name, String phone, String detail);

    void setDefault(String id);
}
